package bean;

public class Products {
private int id;
private String name;
private Double price;
private String category;
private int pnum;
private String imgurl;
private String description;
public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public Double getPrice() {
	return price;
}
public void setPrice(Double price) {
	this.price = price;
}
public String getCategory() {
	return category;
}
public void setCategory(String category) {
	this.category = category;
}
public int getPnum() {
	return pnum;
}
public void setPnum(int pnum) {
	this.pnum = pnum;
}
public String getImgurl() {
	return imgurl;
}
public void setImgurl(String imgurl) {
	this.imgurl = imgurl;
}
public String getDescription() {
	return description;
}
public void setDescription(String description) {
	this.description = description;
}
public Products(int id, String name, Double price, String category, int pnum, String imgurl, String description) {
	super();
	this.id = id;
	this.name = name;
	this.price = price;
	this.category = category;
	this.pnum = pnum;
	this.imgurl = imgurl;
	this.description = description;
}
@Override
public String toString() {
	return "products [id=" + id + ", name=" + name + ", price=" + price + ", category=" + category + ", pnum=" + pnum
			+ ", imgurl=" + imgurl + ", description=" + description + "]";
}
}
